[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
Thank you! --Joel On Saturday, April 27, 2024 at 12:08:13 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 27.04.2024 um 19:16: > \starttext >  test\high{1}test\footnote{some text} > \stoptext > > How can I create a superscript number that has e

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 27.04.2024 um 19:16: \starttext test\high{1}test\footnote{some text} \stoptext How can I create a superscript number that has exactly the same formatting as a footnote, but which won't create a footnote. I tried \high{}, which I believe should be the way

[NTG-context] How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
\starttext test\high{1}test\footnote{some text} \stoptext How can I create a superscript number that has exactly the same formatting as a footnote, but which won't create a footnote. I tried \high{}, which I believe should be the way to superscript text, but if you compile this, you can see

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-24 Thread Pablo Rodriguez via ntg-context
On 4/24/24 02:15, Joel via ntg-context wrote: > [...] Any idea how I can get current footnote value? Hi Joel, current footnote value can be accessed with \rawcountervalue[footnote], such as in: \starttext \dorecurse{25} {\ \footnote{Footnote \recurselevel}: \rawcounterva

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-23 Thread Joel via ntg-context
where I need to reduce page count. So I thought an alternative route: (1) have a code that checks "what is current footnote number?" that sets that as a variable \def\currentfoodnote{\somevariableincontextthatgetsfoodnotenumber} (2) adjust my placefigure macro such that the footnote

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
] \setupnote[footnote][location=none] \starttext    \input knuth     \cite[clark1989]     \placenotes[footnote]          \startchapter[title=Bibliography]     \placelistofpublications     \stopchapter \stoptext --Joel

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Jean-Pierre Delange
iography part doesn’t work for me at all. > > But notes may be placed as their location is text (and you add a real > footnote). > > This works fine: > > \setupnote[footnote][location=text] > > \starttext > \input knuth > \footnote{Footnote} >

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Pablo Rodriguez via ntg-context
nds up being empty.  > > Why is it appearing empty? Is there a fix? Hi Joel, the bibliography part doesn’t work for me at all. But notes may be placed as their location is text (and you add a real footnote). This works fine: \setupnote[footnote][location=text] \starttext \input kn

[NTG-context] Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
[dataset=default] \usebtxdefinitions[sbl] \setupbtx[sbl] \setupnote[footnote][location=none] \starttext    \input knuth     \cite[clark1989]     \placenotes[footnote]          \startchapter[title=Bibliography]     \placelistofpublications     \stopchapter \stoptext --Joel

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread vm via ntg-context
On 22/04/2024 14:38, Joel via ntg-context wrote: Is this the correct way to be using the \startpostponing code (see example below)? \starttext     \input knuth \startpostponing     \placefigure{Caption\footnote{message A}}{\externalfigure[cow][width=\textwidth]} \stoppostponing

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
I've managed to get a minimum working example. If you check, you'll see the 5th footnote inside a placefigure doesn't render anywhere: \starttext     \input knuth     \placefigure{Caption\footnote{message A}}{\externalfigure[cow][width=\textwidth]}     \input knuth     \placefigure{Caption

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Hans Hagen via ntg-context
the footnotes are just in the main text, but sometimes also in figure captions, inside floats, inside tables that are inside floats, inside tabulations inside floats, etc. What I find alarming is it is frequently not rendering all of the footnote messages at the bottom of the page. The actual footnote

[NTG-context] Why don't footnotes appear in floats or figures?

2024-04-21 Thread Joel via ntg-context
in figure captions, inside floats, inside tables that are inside floats, inside tabulations inside floats, etc. What I find alarming is it is frequently not rendering all of the footnote messages at the bottom of the page. The actual footnote number within the body is rendered, but no number

[NTG-context] Re: issue with typing in footnotes

2024-03-18 Thread Pablo Rodriguez via ntg-context
On 3/17/24 23:58, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: >> [...] >> As far as I know, this sample should be compiled without any issue. >> >> Could you be so kind to confirm the issue or explain me what am I missing? &

[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
\stoptext Current latest (from 2024.03.11 09:34) breaks compilation with both LMTX and LuaTeX. As far as I know, this sample should be compiled without any issue. Could you be so kind to confirm the issue or explain me what am I missing? The footnote environment is just a fancy way

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
inois {\em Tchouang Tseu} (en {\em pinyin}\footnote{Le {\em pinyin} (chinois classique 漢語拼音, littéralement “assembler les sons de la langue des Han”), est une romanisation de la langue chinoise, qui est écrite en alphabet latin. Ainsi, au lieu d'écrire 漢語拼音 en chinois traditionnel, ou bien 汉语拼音 e

[NTG-context] Footnotes in footnotes

2024-01-27 Thread Thomas Meyer
Hi folks, in https://wiki.contextgarden.net/Footnotes there is Oblomov's example for footnotes in footnotes: This\footnote{Or that\footnote{Or possibly even the other.}, if you prefer.} is a sentence with a footnote. I get only the footnote number of the inner footnote in the first

[NTG-context] Re: (again) wrong destination types?

2023-12-04 Thread Bruce Horrocks
> On 3 Dec 2023, at 15:26, Pablo Rodriguez via ntg-context > wrote: > > On 11/22/23 00:06, Bruce Horrocks wrote: >> [...] >> I changed your example to the following: >> \setupinteraction[state=start, page=name, focus=standard] >> \starttext >&g

[NTG-context] Re: (again) wrong destination types?

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 00:06, Bruce Horrocks wrote: > [...] > I changed your example to the following: > \setupinteraction[state=start, page=name, focus=standard] > \starttext > \input knuth \par > a\footnote{b} \par > \dorecurse{7}{\input knuth \par} > \stoptext Many thanks for yo

[NTG-context] Re: (again) wrong destination types?

2023-11-21 Thread Bruce Horrocks
> On 20 Nov 2023, at 18:01, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > sorry for insisting, but this is important for my documents. > > I have the following sample: > > \setupinteraction[state=start, page=name, focus=standard] > \startt

[NTG-context] (again) wrong destination types?

2023-11-20 Thread Pablo Rodriguez via ntg-context
Dear list, sorry for insisting, but this is important for my documents. I have the following sample: \setupinteraction[state=start, page=name, focus=standard] \starttext a\footnote{b} \stoptext If page is set to anything different than no in \setupinteractionscreen, focus=standard

[NTG-context] wrong destination types?

2023-11-17 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, page=name, focus=standard] \starttext a\footnote{b} \stoptext In \setupinteraction, "focus=standard" is ignored when I use "page=name". I mean, link destinations are to the full page and they

[NTG-context] Footnotes on the bottom of the column's current page, instead of the columns' end

2023-10-25 Thread Juliano David Hilario
t the end of the column. (like an endnote, except, it shows as a small footnote at the beginning) How should I make it shown on the bottom of the page of the current footnote instead of the end of the column command? My MWE: \definenote[question][textcommand=\gobbleoneargument, numbercommand=\gobbleon

[NTG-context] Re: bibliography questions

2023-10-05 Thread Rik Kabel
need to define my own rendering, e.g. don’t like the handling of names – I need additional fields (custom rendering again) – if I refer to sources, I want a URL or file path in a footnote (custom cite wrapper macro) This all works fine without the btx subsysten (I just need to find solut

[NTG-context] Re: bibliography questions

2023-10-05 Thread Rik Kabel
authors (literary studies, history). For my ConTeXt book, I thought it would make sense, and I would jump through some hoops just to use the system, but – most sources that I want to list are never quoted (method=dataset) – I would need to define my own rendering, e.g. don’t like the handling of

[NTG-context] Re: bibliography questions

2023-10-04 Thread Henning Hraban Ramm
to define my own rendering, e.g. don’t like the handling of names – I need additional fields (custom rendering again) – if I refer to sources, I want a URL or file path in a footnote (custom cite wrapper macro) When I have to write your own rendering, I find it more convenient to use XML/JSON

[NTG-context] Re: bibliography questions

2023-10-03 Thread Aditya Mahajan
, e.g. don’t like the handling of > names > – I need additional fields (custom rendering again) > – if I refer to sources, I want a URL or file path in a footnote (custom cite > wrapper macro) When I have to write your own rendering, I find it more convenient to use XML/JSON (or even a

[NTG-context] Re: bibliography questions

2023-10-03 Thread Henning Hraban Ramm
wn rendering, e.g. don’t like the handling of names – I need additional fields (custom rendering again) – if I refer to sources, I want a URL or file path in a footnote (custom cite wrapper macro) This all works fine without the btx subsysten (I just need to find solutions for some edge case

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm
[before]}\endgraf}, after={\endgraf{\ttbf [after]}\endgraf}] \stopsetups \setupnote[footnote][setups=forfootnote] \footnote{\startitemize \startitem Choose the correct answer. \startitemize \item This one

[NTG-context] \setupitemgroup for footnotes

2023-09-25 Thread Pablo Rodriguez
{\ttbf [after]}\endgraf}] \stopsetups \setupnote[footnote][setups=forfootnote] \footnote{\startitemize \startitem Choose the correct answer. \startitemize \item This one \stopitemize \stopitem \stopitemize} \stoptext

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-22 Thread Pablo Rodriguez
If that could be what you might need, here is a sample. First you have the destination file: \setupinteraction[state=start, focus=standard, prefix=n_,] \starttext \dorecurse{50} {a\footnote{b} } \startluacode luatex.wrapup( function() os.rename(tex.jobname ..

[NTG-context] Re: \placeinitial problem

2023-07-19 Thread Alan Bowen
Hans— The latest version fixes the \placeinitial issue. Many thanks! Alan On Sun, Jul 16, 2023 at 5:09 PM Alan Bowen wrote: > Hi— > \placeinitial seems to fail when there is a footnote in the paragraph. At > least > > \startparagraph > \placeinitial \input ward \f

[NTG-context] \placeinitial problem

2023-07-16 Thread Alan Bowen
Hi— \placeinitial seems to fail when there is a footnote in the paragraph. At least \startparagraph \placeinitial \input ward \footnote{A footnote.} \stopparagraph only works when the footnote is commented out. I am running lmtx [ConTeXt ver: 2023.06.22 LMTX fmt: 2023.6.26] Alan

Re: [NTG-context] hyperlinks not working with current latest

2023-05-29 Thread Hans Hagen via ntg-context
\completecontent \dorecurse{5} {a\footnote{}} \stoptext LuaTeX generates fine hyperlinks for footnotes. My guess is that the issue is in the LuaMetaTeX binary. Could anyone confirm this issue? i'll upload a fix later today (some sensitivity to an extra return value of a helper) Hans

Re: [NTG-context] hyperlinks not working with current latest

2023-05-28 Thread Hans Hagen via ntg-context
\completecontent \dorecurse{5} {a\footnote{}} \stoptext LuaTeX generates fine hyperlinks for footnotes. My guess is that the issue is in the LuaMetaTeX binary. Could anyone confirm this issue? i'll check it but (maybe side effect of some ref things Alan and I are working on). The engine has

[NTG-context] hyperlinks not working with current latest

2023-05-28 Thread Pablo Rodriguez via ntg-context
Dear list, in the following sample, hyperlinks for footnotest don’t work with current latest (2023.05.28 18:57) with current LMTX (20230528): \setupinteraction [state=start, focus=standard] \starttext \completecontent \dorecurse{5} {a\footnote{}} \stoptext LuaTeX

Re: [NTG-context] Two columns of footnotes

2023-05-16 Thread lynx--- via ntg-context
eparating ruled line * It would be useful to have a method for controlling orphan / widow behaviour (such that a footnote in the left column doesn't spill-over as just a single line into the 2nd column). Any comments or ideas? MG On 2023-05-16 00:46, Denis Maier via ntg-context wrote: >

Re: [NTG-context] Two columns of footnotes

2023-05-16 Thread lynx--- via ntg-context
On 2023-05-16 00:46, Denis Maier via ntg-context wrote: > Technically it should be possible: > > https://wiki.contextgarden.net/Footnotes > > (see under footnote formatting). > > However, the example is not particularly pretty and the explanatory text > states the

Re: [NTG-context] Two columns of footnotes

2023-05-16 Thread Denis Maier via ntg-context
Technically it should be possible: https://wiki.contextgarden.net/Footnotes (see under footnote formatting). However, the example is not particularly pretty and the explanatory text states there is a bug. Don’t know if that is the current behavior or if this bug has been fixed. Best, Denis

[NTG-context] interlines space for local footnotes

2023-04-22 Thread jbf via ntg-context
=2.4ex] \stopsetups \setupnote[footnote][setups=footnote:interlinespace] but it doesn't. I had hoped there might be something like \setuplocalfootnotes but there is not.  I also tried placing the setups locally, either with \startlocalfootnotes[setups=footnote:interlinespace

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Denis Maier via ntg-context
> > \startxmlsetups xml:initialize > > \xmlsetsetup{\xmldocument}{*}{-} > > \xmlsetsetup{\xmldocument}{html|body|p|}{xml:*} > > > > %\xmlsetsetup{#1}{span[@class="data-fnref"]}{xml:footnote} % data- > fnref is not a class;

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Keith McKay via ntg-context
{\xmldocument}{html|body|p|}{xml:*} %\xmlsetsetup{#1}{span[@class="data-fnref"]}{xml:footnote} % data-fnref is not a class; also -> the element won't be seen if the parent span is not treated in some way. \xmlsetsetup{#1}{span[@class="footnote"]}{xml:footnote-wrapper} \xmls

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Denis Maier via ntg-context
s not treated in some way. \xmlsetsetup{#1}{span[@class="footnote"]}{xml:footnote-wrapper} \xmlsetsetup{#1}{span[@class="footnote-indirect"]}{xml:footnote} \xmlsetsetup{#1}{div[@class="footnotes"]}{xml:nothing} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmls

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-11 Thread Denis Maier via ntg-context
uot;en"> >   > > >   ‘What is a weed? A plant whose virtues have > not been discovered,’ wrote Ralph Waldo Emerson class="footnote"> data-fnref="53-1">. Those delicate crucifers with their > manifold faces of four pink or lilac petals stria

[NTG-context] Help with typesetting footnotes in an HTML document

2023-04-10 Thread Keith McKay via ntg-context
t;     ‘What is a weed? A plant whose virtues have not been discovered,’ wrote Ralph Waldo Emersonclass="footnote">data-fnref="53-1">. Those delicate crucifers with their manifold faces of four pink or lilac petals striated with veins of deeper lavender are the perfec

[NTG-context] separators between non-instantiantiated (foot)notes

2023-04-03 Thread Rudd, Kevin via ntg-context
Is there a better (automatic, consistent) way to insert separators between non-instantiated (foot)notes (i.e., where there is at least one \note involved with an immediately preceeding/following \footnote or \note? looking at the source, the obvious hack was apparent but ... not ideal. Maybe

Re: [NTG-context] Automatic numbering of footnotes set with \note (not with \footnote)

2023-03-16 Thread Joaquín Ataz-López via ntg-context
Thank you very much, it is a perfect solution. El 16/3/23 a las 12:19, Bruce Horrocks escribió: I don't have the answer to your explicit question, but a work-around might be to put the footnotes into buffers instead of \footnotetext and then use /footnote[...]{\getbuffer[name]} in the body

Re: [NTG-context] Automatic numbering of footnotes set with \note (not with \footnote)

2023-03-16 Thread Bruce Horrocks via ntg-context
I don't have the answer to your explicit question, but a work-around might be to put the footnotes into buffers instead of \footnotetext and then use /footnote[...]{\getbuffer[name]} in the body. That way ConTeXt sees them in order of appearance in the body and so the numbering should be as you

[NTG-context] Bug in columns

2023-03-15 Thread 李延瑞
Hi, There are some footnotes in my text. When I use \startcolumns...\stopcolumns, the locations of footnotes are not right. Please see the followging sample: \starttext If there is a footnote here\footnote{It's a footnote!}. \startcolumns[n=2] \input knuth \column \input knuth \stopcolumns

[NTG-context] Automatic numbering of footnotes set with \note (not with \footnote)

2023-03-15 Thread Joaquín Ataz López via ntg-context
Good Morning to all list members. I am writing a document with very long footnotes, and in order not to break (in the source file) the flow of the main text, instead of using the \footnote macro, I introduce the footnotes using \note[label] at the point where the call to the footnote should

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Hans Hagen via ntg-context
=page, the footnote will also appear. That’s what I’m using now, so there’s no urgency for me now. (But does that maybe already indicate the source of the issue ?) Anyway, I still find the behaviour somewhat weird. I’ll try to come up with a MWE. Any hints how to best proceed are still highly

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
Ok, I've somehow managed to isolate the issue in my real document. There, the issue happens only when a new paragraph starts after the tabulate. If there's nothing after the tabulate, the footnotes appears... Also, if I'm using location=page, the footnote will also appear. That's what I'm using

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
Hi, I have a strange case where a footnote in a tabulate disappears. Strangely, I *cannot* reproduce the behaviour in the MWE below. At first, I thought it must have something to do with \startpostponingnotes, but it seems that this currently isnt't necessary anymore, or at least only

Re: [NTG-context] Float control

2023-03-01 Thread Max Chernoff via ntg-context
29 https://texdoc.org/serve/texbytopic/0#chapter.29 Then there's also Low Level TeX which documents the changes in LMTX https://www.pragma-ade.com/general/manuals/lowlevel-inserts.pdf Inserts are (in my opinion) the most complicated part of TeX. Even at an engine level, they aren't tha

[NTG-context] list not following "focus=standard"?

2023-01-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{25} {\section{Section} a\footnote{b}} \stoptext Using current latest (from 2023.01.26 18:34), destinations for TOC are pages (/D [ 7 0 R /Fit

Re: [NTG-context] notes by paragraph

2023-01-28 Thread jbf via ntg-context
That solves the problem. Thank you. Julian On 28/1/23 23:22, Pablo Rodriguez via ntg-context wrote: \setupnote[footnote][location=none] might help. ___ If your question is of interest to others as well, please add

Re: [NTG-context] notes by paragraph

2023-01-28 Thread Pablo Rodriguez via ntg-context
the page. I am obviously missing a setting. > There are parts of this text that do require the usual footnotes at the > bottom, so I would not want to turn off this option permanently. I have > tried \setupnotation[footnote][display=no] but that is not working. Hi Julian, \setupnote

[NTG-context] notes by paragraph

2023-01-27 Thread jbf via ntg-context
of this text that do require the usual footnotes at the bottom, so I would not want to turn off this option permanently. I have tried \setupnotation[footnote][display=no] but that is not working. Julian ___ If your

Re: [NTG-context] Command line arguments on context project

2022-12-18 Thread Alan Braslau via ntg-context
by volume, or by book, for example). We have not done much with same page, footnote bibliographic references. I do not use that style as I always like having a bibliography list. Best is to compile the entire product and then use some tool (qpdf, pdftk, etc.) to select out a certain range of page

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Fabrice Couvreur via ntg-context
appening in your first > example. > > Hi Fabrice and Bruce, > > I agree that the source would be helpful to say what may be hard for > ConTeXt. > > In any case, ConTeXt has a hard time with pagebreaks when you combine > elements that need both horizontal and vertical

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Pablo Rodriguez via ntg-context
ause that was what was happening in your first example. Hi Fabrice and Bruce, I agree that the source would be helpful to say what may be hard for ConTeXt. In any case, ConTeXt has a hard time with pagebreaks when you combine elements that need both horizontal and vertical calculation, such as in:

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Hans Hagen via ntg-context
ses truein for typesetting the footnote rule. It's trivial to fix that specific case, but I'm finding 140 other files in TeX Live that use the "true" dimensions, 69 of which that have been updated in the past 3 years. I doubt that anyone in ConTeXt uses the "true" dimensions though. well

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Max Chernoff via ntg-context
Hi Hans, > Anyway, I'll check it. Is anyone still using this "true" actually? I've been playing around with LuaMetaLaTeX/LuaMetaPlain recently https://github.com/zauguin/luametalatex and plain.tex uses truein for typesetting the footnote rule. It's trivial to fix that

Re: [NTG-context] \showstruts displaces text in LMTX

2022-10-19 Thread Hans Hagen via ntg-context
On 10/19/2022 8:48 PM, Pablo Rodriguez via ntg-context wrote: Dear list, compiling the following sample with current latest (2022.10.15 10:37): \showframe \showstruts \setuppapersize[A6] \setupnotation[footnote] [alternative=serried] \starttext a\footnote{\input zapf

[NTG-context] \showstruts displaces text in LMTX

2022-10-19 Thread Pablo Rodriguez via ntg-context
Dear list, compiling the following sample with current latest (2022.10.15 10:37): \showframe \showstruts \setuppapersize[A6] \setupnotation[footnote] [alternative=serried] \starttext a\footnote{\input zapf} \stoptext I get the text in the footnote is displaced. It only

Re: [NTG-context] list not following "focus=standard"

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 10/14/22 23:24, Pablo Rodriguez via ntg-context wrote: > Hi Hans, > > I have the following sample: > > \setupinteraction[state=start, > focus=standard] > \starttext > \completecontent > \section{section} > a\footnote{\contextversion} > \stopte

[NTG-context] list not following "focus=standard"

2022-10-14 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion} \stoptext With version from 2022.09.11 20:44, the link from the TOC reads in the PDF file: 4 0 obj << /D [

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Rik Kabel via ntg-context
with \-. Ideas? Try \setupdelimitedtext[quotation][method=font] That fixes both issues, thanks! Not sure where I should have learned this exists, however. ;) Note that this does not fix the problem when the quotation begins a footnote. See the thread "Hanging punctuation misalig

[NTG-context] Question to footnote settings

2022-08-25 Thread Tomáš Hála via ntg-context
Hi all, I am struggling with the width of a footnote number area. I would like to ask how can I set it dynamically based on the width of the largest number on a given page. Without width I get two different footnote texts widths (compare #9+10). With width there is a redundant space on the left

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Max Chernoff via ntg-context
nce > we can bubble up inserts. I think you do a preroll so in that case you > can set the migrations related parameter to not bubble up. > > \starttext > > \holdingmigrations\numexpr1+2+4\relax > > \setbox0\hbox{test \footnote{test} test} > > \setbox2\vbox{\unhcopy0} >

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Hans Hagen via ntg-context
e is that my module lua-widow-control sometimes moves a line containing footnotes to the next page, so I need to do some surgery to make sure that the "footnote marks" stay with the "footnote text". This is tricky but doable with LuaTeX, but I can't seem to get it to work with th

[NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Max Chernoff via ntg-context
t;. With LuaMetaTeX, you use "\insertbox" from TeX, but I'm not sure how to get at the insert box from Lua. The context for both of these is that my module lua-widow-control sometimes moves a line containing footnotes to the next page, so I need to do some surgery to make sure that the &q

Re: [NTG-context] Forbid footnotes from splitting across pages

2022-08-03 Thread Hamid,Idris via ntg-context
Dear Pablo, Many thanks and apologies for top-posting: my normal email client is currently down. I thought of something similar; after some testing, this is what I finally came up with: \setupwhitespace[medium] \setupnotation[footnote] [before={% \startframedtext[none][frame=on,offset

Re: [NTG-context] Forbid footnotes from splitting across pages

2022-08-03 Thread Pablo Rodriguez via ntg-context
least, it would prevent page breaks. > ii) Make sure that the footnote reference number in the main text is > always on the same page as the footnote. \setupnote[footnote][split=verystrict, scope=text] might help here. But it cannot achieve what is practically impossible: \setu

[NTG-context] Forbid footnotes from splitting across pages

2022-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Dear gang, Objectives: i) Prevent footnotes from splitting across a page or pagebreak ii) Make sure that the footnote reference number in the main text is always on the same page as the footnote. Yes, the result may not be pretty, but for some manuscript submissions it will make sense

Re: [NTG-context] overfull lines

2022-07-22 Thread Steffen Wolfrum via ntg-context
ootnotes? >> MWE: >> \setuppapersize[A10] >> \overfullrule5\points >> %\version[temporary] >> \starttext >> \showframe >> XX\footnote{xxx} >> \stoptext > \let\dontcomplain\relax … no, I can't complain ;o) Thank you! Steffen

Re: [NTG-context] overfull lines

2022-07-22 Thread Hans Hagen via ntg-context
\footnote{xxx} \stoptext \let\dontcomplain\relax - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl

[NTG-context] overfull lines

2022-07-21 Thread Steffen Wolfrum via ntg-context
Hi, the command \version[temporary] shows an overfullrule when lines are set overfull. How does this work also in footnotes? MWE: \setuppapersize[A10] \overfullrule5\points %\version[temporary] \starttext \showframe XX\footnote{xxx} \stoptext Steffen

Re: [NTG-context] error with sbl bibliography on latest LMTX

2022-07-09 Thread Joey McCollum via ntg-context
hus, it does not get defined. If I patch the btx:sbl:cite:footnote setup as follows, then I no longer get the "Undefined control sequence \currentbtxloctext" error: ``` % Inline footnote citation setup (with intelligent trailing punctuation replacement) \startsetups btx:sbl:cite:fo

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Henning Hraban Ramm via ntg-context
If I combine the examples from the different threads (see attachment) – local and postponed footnotes – the local footnotes get repeated in global scope after the postponing. Hraban footnote-local.tex Description: TeX document

Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread Henning Hraban Ramm via ntg-context
2022 11:49 *An:* Denis Maier via ntg-context *Cc:* jbf ; mailing list for ConTeXt users *Betreff:* Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg Maybe \setupnote[footnote][width=\textwi

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Denis Maier via ntg-context
I'm not quite I understand: Are you saying I should leave the caption in "global scope"? Regarding the second version: Shouldn't that be: \startlocalfootnotes \footnotetext[asdf]{asdf} % this %\footnotetext[asdf]{\footnote{asdf}} % instead of this \startplacetable[title={A breakfast t

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Hans Hagen via ntg-context
    % The caption     {A breakfast table.\footnote{asdf}}     % the table     \placelegend     {\starttable[|l|r|]     \HL     \VL Spam \footnote {lovely} \VL Bacon \footnote {wonderful} \VL\FR     \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} \VL\LR

Re: [NTG-context] Foonotes in Captions ... again

2022-06-16 Thread Denis Maier via ntg-context
e should be on the page with the float and the > > > caption, but the numbering should also be adjusted.) > > > > We can completely abuse a bunch of different ConTeXt features to > > ensure that the footnote numbers are always in the page order.

[NTG-context] local footnotes and captions

2022-06-16 Thread Denis Maier via ntg-context
Hi, another experiment with footnotes in captions, this time local footnotes : %%% \setupcaptions[location=top] \starttext \startlocalfootnotes \placetable % The caption {A breakfast table.\footnote{asdf}} % the table

Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread Denis Maier via ntg-context
gt; Cc: jbf mailto:roma83...@gmail.com>>; mailing list for ConTeXt users mailto:ntg-context@ntg.nl>> Betreff: Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg Maybe \setupnote[footnote][width=\textwidth]? Julian On 16/6/22 18:56, Denis

Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread Denis Maier via ntg-context
;inherit" textwidth from floatntg Maybe \setupnote[footnote][width=\textwidth]? Julian On 16/6/22 18:56, Denis Maier via ntg-context wrote: Hi, I think I’ve ran into a somewhat strange behaviour. If you have a footnote in a float caption, the footnote won’t use the full textwidth, but o

Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread jbf via ntg-context
Maybe \setupnote[footnote][width=\textwidth]? Julian On 16/6/22 18:56, Denis Maier via ntg-context wrote: Hi, I think I’ve ran into a somewhat strange behaviour. If you have a footnote in a float caption, the footnote won’t use the full textwidth, but only the width of the corresponding

Re: [NTG-context] Foonotes in Captions ... again

2022-06-16 Thread Denis Maier via ntg-context
but the numbering should also be adjusted.) > > We can completely abuse a bunch of different ConTeXt features to ensure > that the footnote numbers are always in the page order. > > % New Code > \unprotect > > \startluacode > userdata.visual_order

[NTG-context] Footnotes in captions -> "inherit" textwidth from float

2022-06-16 Thread Denis Maier via ntg-context
Hi, I think I've ran into a somewhat strange behaviour. If you have a footnote in a float caption, the footnote won't use the full textwidth, but only the width of the corresponding caption. Is that on purpose, a context bug or a user bug? Best, Denis \starttext asdf \startplacefigure[title

Re: [NTG-context] Foonotes in Captions ... again

2022-06-15 Thread Max Chernoff via ntg-context
features to ensure that the footnote numbers are always in the page order. % New Code \unprotect \startluacode userdata.visual_order = 0 userdata.input_order = 0 userdata.save_data = job.passes.define("saved_footnotes") userdata.pre

[NTG-context] Foonotes in Captions ... again

2022-06-15 Thread Denis Maier via ntg-context
Hi everyone What's the current state of affairs regarding footnotes in floats? Both version in the example below don't quite work... (Ideally, the note should be on the page with the float and the caption, but the numbering should also be adjusted.) Best, Denis \starttext \footnote{asdf

[NTG-context] pages with facing text

2022-06-06 Thread Pablo Rodriguez via ntg-context
] \startcolor[darkred] \dorecurse{10}{\section{Knuth}\pushoutputstream \inouter{first}\input knuth\footnote{note}\par\pushoutputstream} \stopcolor \stopoutputstream \startoutputstream[two] \startcolor[darkgreen] \dorecurse{10}{\section{Zapf}\pushoutputstream \inouter{second

Re: [NTG-context] Callbacks (and nodes) in LuaMetaTeX

2022-05-25 Thread Max Chernoff via ntg-context
end return head end nodes.tasks.appendaction("finalizers", "after", "test") \stopluacode \starttext One \footnote{Two} \insert123{Three} Four. \stoptext In MkIV I get: 1917 : ins 132>=

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
I found a way to wrap everything before \startdocument, so I think this looks like a template more or less: In case anyone is interested, here's the MWE: \definenote[address] \setupnote[address][rule=off,location=text] \setupnotation[footnote][numberconversion=numerals] \definenote

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
t;> >> ... >> \startcolumns >> >> \the\titlefootnotes >> >> \kern-\rawcountervalue[address]\lineheight % dirty trick >> >> test\footnote{test} >> >> \input knuth >> >> \stopcolumns >> ... >> >> Massi >

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
Hi Massi, You are a champion! On Wed, May 18, 2022 at 4:41 PM mf wrote: > I hope I got the point now: > > ... > \startcolumns > > \the\titlefootnotes > > \kern-\rawcountervalue[address]\lineheight % dirty trick > > test\footnote{test} > > \input knuth > &

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
\starttext > Hello\footnotetext{Footnote without mark}. > \stoptext > > Kind regards, > Massi > > Il 18/05/22 07:55, Zhichu Chen via ntg-context ha scritto: > > Hi everybody, > > > > > > After some attempts to put footnotes in a mixed 1&2 columns layou

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread mf via ntg-context
Is this what you mean? \starttext Hello\footnotetext{Footnote without mark}. \stoptext Kind regards, Massi Il 18/05/22 07:55, Zhichu Chen via ntg-context ha scritto: Hi everybody, After some attempts to put footnotes in a mixed 1&2 columns layout, I decide to put marks in the one-co

[NTG-context] Can I just put a footnote without marking in the main text?

2022-05-17 Thread Zhichu Chen via ntg-context
Hi everybody, After some attempts to put footnotes in a mixed 1&2 columns layout, I decide to put marks in the one-column environment and flush them when entering the two-column environment. The code is ugly but the result is acceptable. Except that the invisible footnote mark

  1   2   3   4   5   6   7   8   9   10   >